package com.oa.modules.approvalsec1.dao;

import com.oa.modules.approvalsec1.entity.ProjectScheduleEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 项目进度表
 *
 * @author jiangwei
 * @email 785297226@qq.com
 * @date 2021-12-14 09:59:36
 */
@Mapper
public interface ProjectScheduleDao extends BaseMapper<ProjectScheduleEntity> {

    /**
     * 根据父节点，查询子节点
     * @param parentId 父节点ID
     */
    List<ProjectScheduleEntity> queryListParentId(Integer parentId);
}
